LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

#include $(TOP_DIR)/config.mk

TOP_DIR := $(LOCAL_PATH)/../..

SUBDIR := src/porting src src/charset  src/os

LOCAL_SRC_FILES := $(foreach DIR, $(SUBDIR), $(addprefix $(DIR)/,$(notdir $(wildcard $(LOCAL_PATH)/$(DIR)/*.c))))
LOCAL_SRC_FILES += $(foreach DIR, $(SUBDIR), $(addprefix $(DIR)/,$(notdir $(wildcard $(LOCAL_PATH)/$(DIR)/*.cpp))))

LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES := 

LOCAL_C_INCLUDES := \
		$(LOCAL_PATH)/ \
		$(LOCAL_PATH)/include \
		$(LOCAL_PATH)/include/porting \
		$(LOCAL_PATH)/include/os \
		$(LOCAL_PATH)/include/dvb_api \
		$(LOCAL_PATH)/src/charset\
		$(LOCAL_PATH)/src \
		$(LOCAL_PATH)/../filter/include \
		$(LOCAL_PATH)/../spts/include \
		$(LOCAL_PATH)/../httpproxy \
		$(LOCAL_PATH)/../ci/ciresource \
		$(LOCAL_PATH)/../dec/include \
		$(LOCAL_PATH)/../loader/include \
		$(LOCAL_PATH)/../usb/camusb

LOCAL_MODULE:= icast

include $(BUILD_STATIC_LIBRARY)
